package com.hang.model.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserInfoDTO {
    @NotNull
    @ApiModelProperty(value = "用户id",required = true)
    private Long userId;

    @NotBlank
    @ApiModelProperty(value = "真实姓名",required = true)
    private String realName;

    @NotNull
    @ApiModelProperty(value = "角色id",required = true)
    private Long roleId;

    @NotBlank
    @ApiModelProperty(value = "角色名",required = true)
    private String roleName;

    @NotNull
    @ApiModelProperty(value = "部门id",required = true)
    private Long deptId;

    @NotBlank
    @ApiModelProperty(value = "部门名称",required = true)
    private String deptName;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "工作邮箱")
    private String workMail;

    @ApiModelProperty(value = "头像地址")
    private String headImgUrl;
}
